@charset "UTF-8";
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td,hr,button,article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {
  margin: 0;
  padding: 0;
}
h1,h2,h3,h4,h5,h6 {
  font-size: 100%;
  font-weight: 400;
}
address,caption,cite,code,dfn,em,th,var {
  font-style: normal;
  font-weight: 400;
}
ol,ul,li {
  list-style: none;
}
a {
  text-decoration: none;
  color: $color;
  background-color: transparent; 
  -webkit-text-decoration-skip: objects; 
}
a:hover {
  text-decoration: none;
  color: $color-hover;
}
a:active,a:focus,a:hover {
  outline-width: 0;
  text-decoration: none;
  outline: none;
}
label{
  font-weight: 400;
}
fieldset,img {
  border: 0;
}
html,body {
  color: $color;
  background: #fff;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {
  display: block;
}
audio,canvas,video {
  display: inline-block;
  *display: inline;
  *zoom: 1;
}
body,button,input,select,textarea {
  font-family: Helvetica Neue, Helvetica, Arial, PingFang SC, Hiragino Sans GB, Heiti SC, Microsoft YaHei, WenQuanYi Micro Hei, sans-serif;
  font-size: $size;
  line-height: $line-height;
}
::-ms-clear, 
::-ms-reveal{
  display: none;
}
button,input,select,textarea {
  font-size: 100%;
}
button,input[type=button],input[type=reset],input[type=submit] {
  cursor: pointer;
  -webkit-appearance: button;
}
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}
abbr[title] {
  border-bottom: none; 
  text-decoration: underline; 
  text-decoration: underline dotted; 
}
b,
strong {
  font-weight: bolder;
}
del {
  text-decoration: line-through;
}
mark {
  background: #ff0;
  color: #000;
}
small {
  font-size: 80%;
}
audio,
video {
  display: inline-block;
}
img {
  border-style: none;
}
svg:not(:root) {
  overflow: hidden;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
th {
  text-align: inherit;
}
td {
  word-break: break-all; 
  word-wrap: break-word;
}
textarea {
  resize: none;
}
iframe {
  display: block;
}
/*float*/
.clearfix {
  *zoom: 1;
  &:before,
  &:after {
    content: "";
    display: table;
  }
  &:after {
    clear: both;
    overflow: hidden;
  }
}
.clear {
  clear:both;
}

/*盒模型*/ 
*, *:before, *:after {
  -wekbit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

/*被选中的文本背景颜色*/ 
::-webkit-selection {
  color: #fff;
  background: $color-primary;
}

::-moz-selection {
  color: #fff;
  background: $color-primary;
}

::selection {
  color: #fff;
  background: $color-primary;
}

/*placeholder颜色*/ 
::-webkit-input-placeholder {
  color: $color-lighter;
  font-weight: 400;
}
:-moz-placeholder {
  color: $color-lighter;
  font-weight: 400;
}
::-moz-placeholder {
  color: $color-lighter;
  font-weight: 400;
}
:-ms-input-placeholder {
  color: $color-lighter !important;
  font-weight: 400 !important;
}
//iconfont不需要添加icon
[class*=" icon-"],[class^=icon-] {
  font-family: icom !important;
  speak: none;
  font-style: normal;
  font-weight: 400;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale
}